##Service层模板

import java.util.List;
import com.zuoyy.common.enums.StatusEnum;
import com.zuoyy.modules.common.BaseService;


/**
 * @author zuo
 */
public interface #{entity}Service extends BaseService<#{entity}> {

    Page<#{entity}> getPageList(#{entity}Query query);
    List<#{entity}> findByQuery(#{entity}Query query);
    List<#{entity}> findByQuery(#{entity}Query query, Sort sort);

    Boolean updateStatus(StatusEnum statusEnum, List<String> idList);

}
